/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.util.math.RayTraceResult;
/*    */ import net.minecraft.util.text.TextFormatting;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class eos/moe/dragoncore/ht
/*    */   implements IMessageHandler<hv, IMessage>
/*    */ {
/*    */   public IMessage onMessage(hv hv1, MessageContext messageContext) {
/* 33 */     RayTraceResult rayTraceResult = (Minecraft.func_71410_x()).field_71476_x;
/* 34 */     if (rayTraceResult != null) {
/* 35 */       if (rayTraceResult.field_72308_g != null)
/* 36 */         return new rp(rayTraceResult.field_72308_g.func_145782_y()); 
/* 37 */       if (rayTraceResult.field_72313_a == RayTraceResult.Type.BLOCK) {
/* 38 */         return new dw(rayTraceResult.func_178782_a());
/*    */       }
/* 40 */       qz.w.v(null, "Error - No tile or entity selected", TextFormatting.RED);
/*    */     } 
/*    */     
/* 43 */     return null;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\ht.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */